package util;

import java.io.IOException;
import java.math.BigDecimal;
import java.util.Properties;

import org.springframework.core.io.support.PropertiesLoaderUtils;

import com.paypal.base.rest.APIContext;

public class ConfigUtil {
    /**
     * 微信
     * APP服务号相关信息
     */
	
	
     public final static String WECHAT_APPID = "wx86906b7919f21c1b";//服务号的应用号
     public final static String WECHAT_MCH_ID = "1484511192";//商户号
     public final static String WECHAT_API_KEY = "Ee6ePNf17TNwUB3F5AYI4If6nxS0VQ0R";//API密钥
     public final static String WECHAT_SIGN_TYPE = "MD5";//签名加密方式
     public final static String WECHAT_UNIFIED_ORDER_URL = "https://api.mch.weixin.qq.com/pay/unifiedorder";
     public final static String WECHAT_REFUND_URL = "https://api.mch.weixin.qq.com/secapi/pay/refund";
     
    /**
     * 支付宝
     * 服务号相关信息
     */
     
     //2garqxdw3jsv5owuat86g0b0iqb2u0n1
     public final static String ALIPAY_APP_ID = "2017062007530474";  
     public final static String ALIPAY_APP_PRIVATE_KEY = "MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCbZ+fhZrGnfCtpmeKYyRBXs2xFNJ4eMZyoA8hjqfAcAKv5Uxfrdmnn7SY59AHJvKRLX6JYMuDBlHH0dewwohODnA/HJEMmoq5OZrK5p7x20+hPxrxSvlVxApZACgK9oldUTFgxxdm9+71VEmfu6CjMwN+71LVerV0vYDZG3o7Iofdmcue4Dp48kitNsSfvd6t771aytDEIQtgBtTpBGSD4vIOZZOQSoakKB76IKGN/wjcw4FeXPROZiBItplwG/vfADqCF5xSQfjfK6+A9DhskO5d7OgBfdFBSi8teGqiESvg2dkZ3dzgGKeqGYqtKeZ9w25aYMCKSA4DUAjMsXM8bAgMBAAECggEBAICOVe3KDBBm0WrMF/0X5uMF0/zz6BFGLTd32Z9Ihw5DKABaUqFAFZ/8N/Ec/xWpbafEdwHLJM4+RH5bxoT8rnPi99JfFwWw8cx9fD/EmE0cQ0MrPcKdHQUdhLl5Dodc8i0T8qlJ6DQXOapUTZH+jzH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     public final static String ALIPAY_CHARSET = "utf-8";  
     public final static String ALIPAY_APP_PUBLIC_KEY = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAm2fn4Waxp3wraZnimMkQV7NsRTSeHjGcqAPIY6nwHACr+VMX63Zp5+0mOfQBybykS1+iWDLgwZRx9HXsMKITg5wPxyRDJqKuTmayuae8dtPoT8a8Ur5VcQKWQAoCvaJXVExYMcXZvfu9VRJn7ugozMDfu9S1Xq1dL2A2Rt6OyKH3ZnLnuA6ePJIrTbEn73ere+9WsrQxCELYAbU6QRkg+LyDmWTkEqGpCge+iChjf8I3MOBXlz0TmYgSLaZcBv73wA6ghecUkH43yuvgPQ4bJDuXezoAX3RQUovLXhqohEr4NnZGd3c4BinqhmKrSnmfcNuWmDAikgOA1AIzLFzPGwIDAQAB";  
     public final static String ALIPAY_PUBLIC_KEY = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApmQ1ol0GgosG/BvzJSzn4ywDDnOS7YyfIM+z6cM/GH7qeWV0bZ7FLCquAeL6G5IaaWrf145FsjCe/BF2mmYAJnsPb9xjc7QckGdcrS0D2ck0I9Scm1Ncs72Qe+lKsuxOBds6yUx5U4p1sIHw71LICcuwePvUtKQPmDUgBnZ09M5wEYfU+j3+j/geTM0SpWK5VOlzSzw/oBIzxU/+7SpAJE6gZ/O++0ZN9t4dsR/jFTe9Z6X3FEeV6q6I4xrXrgjkTcKItTnZcSxZaNLGt1oVlY3A2fhzttH8bE9r0wF4zpCDufSr3l4/vJqek0Y4z2x13r4G24Ev7Bshw0NpPuqbzQIDAQAB";  
     public final static String ALIPAY_EMAIL = "service@youmikeji.com";  
     public final static String ALIPAY_URL = "https://openapi.alipay.com/gateway.do";
     
     /**
      * payssion
      */
     public  static String PAYSSION_APIKEY = "";  
     public  static String PAYSSION_SECRETKEY = "";  
     
     /*
      * 
      * 微信公众号
      */
     public static String WECHAT_WEB_APPID = null;
     public static String WECHAT_WEB_MCH_ID = null;
     public static String WECHAT_API_WEB_KEY = null;
     //公众平台账号信息
     public static  String WECHAT_PUBLIC_APPID = null;
     public static  String WECHAT_PUBLIC_SECRET = null;
     public static  String WECHAT_TOKEN = null;
     
     public static String CERT_PATH_APP= "cert/apiclient_cert.p12";
     public static String CERT_PATH_WECHAT= null;
     
     
     /**
      * paypal
      */
     public static final String CLIENT_ID = "ARZSBtNxoxwQWVCky_NL8q2EexrtCZsDEjr6b29KZ6-k77SCY1p05XxJz8U0OTjoXSFos2pkpanvrhHQ";//"AS5bxiYwf6aty_nyad6nxdShSIYHIWewNzwaXqmwHC1vggioiRB01z3kEHQOEycdk-1fBLuhTmOFLAoT";
     public static final String CLIENT_SECRET = "EPU6pFfC8PA34QE9dK8KAatmRMxo1WiS8wIk5_2qGeYyTGBU1j6leGouQFxXy6KXwSlIwpNxigeA_XtN";//"EHk5lTmbXcvbYFfhckFXAxtsr1WMPLcb2b14QL3rpP2ro5ZnWKCEH3HSD9IR5BJBwi1hoVe4oNqCRseT";
     public static final String MODE = "sandbox";//"live";
}